projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5154693
)
docs: Fix spelling of GDK_VERSION_MIN_REQUIRED.
author
Santosh Mahto
<santosh.mahto@collabora.com>
Thu, 4 Jun 2020 06:37:22 +0000
(12:07 +0530)
committer
Santosh Mahto
<santosh.mahto@collabora.com>
Thu, 4 Jun 2020 06:42:36 +0000
(12:12 +0530)
docs/reference/gtk/compiling.md
patch
|
blob
|
history
diff --git
a/docs/reference/gtk/compiling.md
b/docs/reference/gtk/compiling.md
index f0351029fd7491e019a79f4aac4fa7b1c3b74da2..55e154bd17fe51b249cc6e151c4f59e713d1835d 100644
(file)
--- a/
docs/reference/gtk/compiling.md
+++ b/
docs/reference/gtk/compiling.md
@@
-37,7
+37,7
@@
this range will trigger compiler warnings.
Here is how you would compile hello.c if you want to allow it
to use symbols that were not deprecated in 4.2:
```
-$ cc `pkg-config --cflags gtk4` -DGDK_VERSION_MIN_REQIRED=GDK_VERSION_4_2 hello.c -o hello `pkg-config --libs gtk4`
+$ cc `pkg-config --cflags gtk4` -DGDK_VERSION_MIN_REQ
U
IRED=GDK_VERSION_4_2 hello.c -o hello `pkg-config --libs gtk4`
```
And here is how you would compile hello.c if you don't want